// 尽调项目接口
import request from '/src/utils/request'

// 查询项目编码对应的项目
export function QueryByCode(projectCode) {
    return request({
        url: "/project/due",
        method: "get",
        params: {
            code: projectCode,
            page: 1,
            size: 1
        }
    });
}

// 新增配置接口
export function CreateProject(formData) {
    return request.post("/project/due/create", formData, {headers: {'Content-Type': 'multipart/form-data'},timeout: 300000});
}

// 重新要素识别
export function ReIdentifyElement(projectCode) {
    return request.get("/project/due/reIdentity/"+projectCode, {timeout: 300000});
}